package design.a2_builder.worker;

import design.a2_builder.product.Computer;

/**
 * 抽象构建者，相当于是工人，负责具体构建出什么样的对象
 */
public abstract class Builder {

	Computer computer = new Computer();

	public abstract void buildScreen();

	public abstract void buildKeyboard();

	public abstract void buildMouse();

	public Computer getResult() {
		return computer;
	}
}
